<div id="editAttrSpecModel" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
     aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-body">
                <h3 class="m-t-none m-b ">
                    <span><vc:i18n name="修改属性配置" namespace="editAttrSpec"></vc:i18n></span>
                </h3>
                <div class="ibox-content">
                    <div>
                        <div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">
                                    <span><vc:i18n name="属性表" namespace="editAttrSpec"></vc:i18n></span>
                                </label>
                                <div class="col-sm-10">
                                    <select class="custom-select" v-model="editAttrSpecInfo.tableName">
                                        <option selected disabled value="">
                                            {{vc.i18n('必填','editAttrSpec')}}，请选择属性表
                                        </option>
                                        <option value="building_room_attr">{{vc.i18n('房屋属性','editAttrSpec')}}</option>
                                        <option value="building_owner_attr">{{vc.i18n('业主属性','editAttrSpec')}}</option>
                                        <option value="building_community_attr">
                                            {{vc.i18n('小区属性','editAttrSpec')}}
                                        </option>
                                        <option value="machine_attr">{{vc.i18n('设备属性','editAttrSpec')}}</option>
                                        <option value="parking_area_attr">{{vc.i18n('停车场属性','editAttrSpec')}}</option>
                                        <option value="owner_car_attr">{{vc.i18n('车辆属性','editAttrSpec')}}</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">
                                    <span><vc:i18n name="域" namespace="addAttrSpec"></vc:i18n></span>
                                </label>
                                <div class="col-sm-10">
                                    <input v-model="editAttrSpecInfo.domain" type="text"
                                           :placeholder="vc.i18n('必填，请填写域','addAttrSpec')" class="form-control">
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">
                                    <span><vc:i18n name="规格名称" namespace="editAttrSpec"></vc:i18n></span>
                                </label>
                                <div class="col-sm-10">
                                    <input v-model="editAttrSpecInfo.specName" type="text"
                                           :placeholder="vc.i18n('必填，请填写规格名称','editAttrSpec')" class="form-control">
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">
                                    <span><vc:i18n name="规格编码" namespace="addAttrSpec"></vc:i18n></span>
                                </label>
                                <div class="col-sm-10">
                                    <input v-model="editAttrSpecInfo.specCd" type="text"
                                           :placeholder="vc.i18n('必填，请填写规格编码','addAttrSpec')" class="form-control">
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">
                                    <span><vc:i18n name="说明" namespace="editAttrSpec"></vc:i18n></span>
                                </label>
                                <div class="col-sm-10">
                                    <input v-model="editAttrSpecInfo.specHoldplace" type="text"
                                           :placeholder="vc.i18n('必填，请填写说明','editAttrSpec')" class="form-control">
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">{{vc.i18n('是否必填','editAttrSpec')}}</label>
                                <div class="col-sm-10">
                                    <select class="custom-select" v-model="editAttrSpecInfo.required">
                                        <option selected disabled value="">
                                            {{vc.i18n('必填','editAttrSpec')}}，请选择{{vc.i18n('是否必填','editAttrSpec')}}
                                        </option>
                                        <option value="Y">{{vc.i18n('是','editAttrSpec')}}</option>
                                        <option value="N">{{vc.i18n('否','editAttrSpec')}}</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">
                                    <span><vc:i18n name="展示" namespace="editAttrSpec"></vc:i18n></span>
                                </label>
                                <div class="col-sm-10">
                                    <select class="custom-select" v-model="editAttrSpecInfo.specShow">
                                        <option selected disabled value="">
                                            {{vc.i18n('必填','editAttrSpec')}}，请选择展示
                                        </option>
                                        <option value="Y">{{vc.i18n('是','editAttrSpec')}}</option>
                                        <option value="N">{{vc.i18n('否','editAttrSpec')}}</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">
                                    <span><vc:i18n name="值类型" namespace="editAttrSpec"></vc:i18n></span>
                                </label>
                                <div class="col-sm-10">
                                    <select class="custom-select" v-model="editAttrSpecInfo.specValueType">
                                        <option selected disabled value="">
                                            {{vc.i18n('必填','editAttrSpec')}}，请选择值类型
                                        </option>
                                        <option value="1001">{{vc.i18n('字符串','editAttrSpec')}}</option>
                                        <option value="2002">{{vc.i18n('整数','editAttrSpec')}}</option>
                                        <option value="3003">{{vc.i18n('金额','editAttrSpec')}}</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">
                                    <span><vc:i18n name="规格类型" namespace="editAttrSpec"></vc:i18n></span>
                                </label>
                                <div class="col-sm-10">
                                    <select class="custom-select" v-model="editAttrSpecInfo.specType">
                                        <option selected disabled value="">
                                            {{vc.i18n('必填','editAttrSpec')}}，请选择规格类型
                                        </option>
                                        <option value="2233">input</option>
                                        <option value="3344">select</option>
                                    </select>
                                </div>
                            </div>
                            <div class="form-group row">
                                <label class="col-sm-2 col-form-label">
                                    <span><vc:i18n name="查询显示" namespace="editAttrSpec"></vc:i18n></span>
                                </label>
                                <div class="col-sm-10">
                                    <select class="custom-select" v-model="editAttrSpecInfo.listShow">
                                        <option selected disabled value="">
                                            {{vc.i18n('必填','editAttrSpec')}}，请选择查询显示
                                        </option>
                                        <option value="Y">{{vc.i18n('是','editAttrSpec')}}</option>
                                        <option value="N">{{vc.i18n('否','editAttrSpec')}}</option>
                                    </select>
                                </div>
                            </div>
                            <div class="ibox-content">
                                <button class="btn btn-primary float-right" type="button" v-on:click="editAttrSpec()">
                                    <i class="fa fa-check"></i>&nbsp;保存
                                </button>
                                <button type="button" class="btn btn-warning float-right" style="margin-right:20px;"
                                        data-dismiss="modal">
                                    <i class="fa fa-close"></i>&nbsp;取消
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>